State Model Using Block Diagram